Skip to content

[FSTORE-1672][4.1] Allow multiple on-demand features to be returned from an on-demand transformation function and allow passing of local variables to a transformation function #468

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

manu-sj
Copy link
Contributor

@manu-sj manu-sj commented Feb 3, 2025

This PR cherry-pick changes not in #452 to the 4.1 branch

  • please summarize your changes to the code
  • and make sure to include all changes to user-facing APIs

JIRA Issue: https://hopsworks.atlassian.net/browse/FSTORE-1672

Priority for Review: -

Related PRs:
https://github.com/logicalclocks/hopsworks-ee/pull/2223
https://github.com/logicalclocks/loadtest/pull/514
logicalclocks/logicalclocks.github.io#440

How Has This Been Tested?

  • Unit Tests
  • Integration Tests
  • Manual Tests on VM

Checklist For The Assigned Reviewer:

- [ ] Checked if merge conflicts with master exist
- [ ] Checked if stylechecks for Java and Python pass
- [ ] Checked if all docstrings were added and/or updated appropriately
- [ ] Ran spellcheck on docstring
- [ ] Checked if guides & concepts need to be updated
- [ ] Checked if naming conventions for parameters and variables were followed
- [ ] Checked if private methods are properly declared and used
- [ ] Checked if hard-to-understand areas of code are commented
- [ ] Checked if tests are effective
- [ ] Built and deployed changes on dev VM and tested manually
- [x] (Checked if all type annotations were added and/or updated appropriately)

…n on-demand transformation function and allow passing of local variables to a transformation function (logicalclocks#452)

* working code for many to many transformation and also transformation context

* adding comments and tests

* update feature group schema based on transformation function only if transform is set to true

* throw exception if transformation context is passed to training datatset materialization jobs from the python engiine

* adapting check_missing_request_parameters to handle multiple on-demand feature returned from a single transformaiton function

* checking excplicitly that the passed feature vector is None so that pandas dataframe can also be passed to get feature vector

* adding else to handle usecase in which features have to be overwritten after tranformations

* adding null check for entries before trying to add them to request parameters

* addressing review comments

---------

Co-authored-by: Ralf <bubriks@gmail.com>
@SirOibaf SirOibaf enabled auto-merge (squash) February 6, 2025 09:13
@SirOibaf SirOibaf merged commit 5838d82 into logicalclocks:branch-4.1 Feb 6, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants